@extends('purchase.layout')
@section('content')
    <div class="main">
        <div class="title">
            {{$purchase_type -> title}}
        </div>
        <div class="cardList_pc">
            @foreach($purchases as $p)
                <a href="{{route('purchase.show', $p->id)}}"><img
                            src="{{config('app.url').'/uploads/'.$p->thumb_pic}}" class="_img_w100"/></a>
            @endforeach
        </div>

    </div>
@endsection